<?php
/*
require_once('D:\AppServ\www\zuoshenshi-php-zec/system/Smarty-2.6.26/libs/Smarty.class.php');

$smarty = new Smarty();

$smarty->template_dir = 'D:/AppServ/www/zuoshenshi-php-zec/templates/';
$smarty->compile_dir  = 'D:/AppServ/www/zuoshenshi-php-zec/system/templates_c/';
$smarty->config_dir   = 'D:/AppServ/www/zuoshenshi-php-zec/system/configs/';
$smarty->cache_dir    = 'D:/AppServ/www/zuoshenshi-php-zec/system/cache/';

$smarty->left_delimiter = '{{';
$smarty->right_delimiter = '}}';

*/
	$REAL_DOCUMENT_ROOT =$_SERVER['DOCUMENT_ROOT'];
	
	define('SMARTY_DIR',dirname(__FILE__).'/Smarty-2.6.26/libs/');
	
	//echo $_SERVER['DOCUMENT_ROOT'].'/libs/Smarty-2.6.26/libs/';
	
	$ecjp_smarty_parent_path =  "C:\apache2\htdocs\shopjp/"; 
	//$ecjp_smarty_parent_path =  "/var/www/html/shopjp/"; 
	
	require_once($ecjp_smarty_parent_path.'system/Smarty-2.6.26/libs/Smarty.class.php');
	
	$smarty = new Smarty();
	
	//$smarty->default_modifiers = array('escape:"htmlall":"utf-8"');
	$smarty->template_dir = $ecjp_smarty_parent_path.'templates/';
	$smarty->compile_dir  = $ecjp_smarty_parent_path.'system/templates_c/';
	$smarty->config_dir   = $ecjp_smarty_parent_path.'system/configs/';
	$smarty->cache_dir    = $ecjp_smarty_parent_path. 'system/cache/';
	
	$smarty->left_delimiter = '{{';
	$smarty->right_delimiter = '}}';
	
	
	//$url_localhost =  "http://210.143.102.113/";
	$smarty->assign('ec_manamer_url',"web-admin/" );
	$smarty->assign('ec_shop_url',"" );

?>
